import { ExtensionContext } from 'vscode';
import { WelcomeWebview } from './welcome/welcome';

/**
 * 容器统一管理
 *
 * @author chitanda
 * @date 2022-12-13 15:12:57
 * @export
 * @class WebviewContainer
 */
export class WebviewContainer {
  private _welcome?: WelcomeWebview;

  get welcome() {
    return this._welcome;
  }

  constructor(protected context: ExtensionContext) {
    context.subscriptions.push((this._welcome = new WelcomeWebview(this)));
  }
}
